package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CYearreportwebDao;
import gov.ccswj.modules.ccbusiness.entity.CYearreportwebEntity;
import gov.ccswj.modules.ccbusiness.service.CYearreportwebService;



@Service("cYearreportwebService")
public class CYearreportwebServiceImpl implements CYearreportwebService {
	@Autowired
	private CYearreportwebDao cYearreportwebDao;
	
	@Override
	public CYearreportwebEntity queryObject(Integer id){
		return cYearreportwebDao.queryObject(id);
	}
	
	@Override
	public List<CYearreportwebEntity> queryList(Map<String, Object> map){
		return cYearreportwebDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cYearreportwebDao.queryTotal(map);
	}
	
	@Override
	public void save(CYearreportwebEntity cYearreportweb){
		cYearreportwebDao.save(cYearreportweb);
	}
	
	@Override
	public void update(CYearreportwebEntity cYearreportweb){
		cYearreportwebDao.update(cYearreportweb);
	}
	
	@Override
	public void delete(Integer id){
		cYearreportwebDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cYearreportwebDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cYearreportwebDao.delete(entname);
		
	}
}
